package cn.jly.spring.boot.cloud.beans.inheritance.single_table;

import lombok.*;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

/**
 * @author lanyangji
 * @description
 * @date 2020/12/10 下午 2:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Entity
@DiscriminatorValue("blue")
public class BlueBook extends Book {
    private String blueMark;
}
